package com.etc.RCCPU001.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import com.etc.RCCPU001.pojo.Userinfo;

import io.lettuce.core.dynamic.annotation.Param;

@Mapper
public interface UserinfoMapper {
	
	//按照用户名和密码查询
	Userinfo selectUserByNameAndPwd(String uname, String psd);
	// 注册
	int register(Userinfo user);
	
	List<Map> getBanner(Integer modid);

}
